{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <blockquote class="layui-elem-quote layui-text">
            账目明细：作为用户账户变动记录<span class="text-danger">禁止删除</span>以及<span class="text-danger">修改</span>
        </blockquote>
        <div class="layui-form-item">
          <form class="layui-form layui-form-pane" action="{:request()->url()}" >
            <div class="layui-input-inline">
                <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="{if $Request.get.title}{$Request.get.title}{else}请输入关键字{/if}" class="layui-input">
            </div>
            <div class="layui-input-inline">
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">{$Think.lang.search}</button>
                <button type="reset" class="layui-btn layui-btn-primary">{$Think.lang.reset}</button>
            </div>
            </form>
        </div>
        <table class="layui-table layui-form" lay-skin="line">
            <thead>
                <tr>
                    <th>{$Think.lang.id}</th>
                    <th>{$Think.lang.name}</th>
                    <th>{$Think.lang.phone}</th>
                    <th>{$Think.lang.money}</th>
                    <th>{$Think.lang.growth}</th>
                    <th>{$Think.lang.integral}</th>
                    <th>{$Think.lang.describe}</th>
                    <th>{$Think.lang.change}</th>
                    <th>{$Think.lang.createtime}</th>
                </tr>
            </thead>
            <tbody>
                {volist name="list" id="v" empty="$empty"}
                <tr>
                    <td>{$i}</td>
                    <td>{$v.name}</td>
                    <td>{$v.mobile}</td>
                    <td>{if $v.money_type eq 1}-{/if}{$v.money}</td>
                    <td>{if $v.growth_type eq 1}-{/if}{$v.growth}</td>
                    <td>{if $v.integral_type eq 1}-{/if}{$v.integral}</td>
                    <td>{$v.change_desc}</td>
                    <td>{$v.change_type}</td>
                    <td>{$v.create_time}</td>
                </tr>
                {/volist}
            </tbody>
        </table>
        <div class="page">{$list|raw}</div>
    </div>
</div>
{/block}
